import { sidebar } from "vuepress-theme-hope";

export const zhSidebar = sidebar({
  // 代码笔记的侧边栏
  "/codenotes/": [
    {
      text: "后端",
      icon: "java",
      collapsible: true,
      prefix: "/codenotes/后端/",
      children: [
        {
          text: "SpringBoot 瘦身实战",
          icon: "write",
          link: "SpringBoot 瘦身实战",
        },
      ],
    },
    {
      text: "前端",
      icon: "vue",
      collapsible: true,
      prefix: "/codenotes/前端/",
      children: [
        {
          text: "vue-工作笔记",
          icon: "write",
          link: "vue工作笔记",
        },
        {
          text: "vue页面跳转笔记",
          icon: "write",
          link: "vue页面跳转笔记",
        },
      ],
    },
    // linux
    {
      text: "mac/linux/",
      icon: "linux",
      collapsible: true,
      prefix: "/codenotes/linux或mac/",
      children: [
        {
          text: "git全局删除DS_Store",
          icon: "write",
          link: "git全局删除DS_Store",
        },
        {
          text: "服务器端口映射到本地",
          icon: "write",
          link: "服务器端口映射到本地",
        },
        {
          text: "mac M1 docker 安装常用应用 ",
          icon: "write",
          link: "mac M1 docker 安装常用应用 ",
        },
        {
          text: "Linux Shell 脚本经典案例",
          icon: "write",
          link: "Linux Shell 脚本经典案例",
        },
        {
          text: "禁用CleanMyMacX HealthMonitor",
          icon: "write",
          link: "禁用CleanMyMacX HealthMonitor",
        },
        {
          text: "在Mac上添加一个虚拟IP",
          icon: "write",
          link: "在Mac上添加一个虚拟IP",
        },
        {
          text: "frp使用教程",
          icon: "write",
          link: "frp使用教程",
        },
        {
          text: "M1 docker 安装nginx",
          icon: "write",
          link: "M1 docker 安装nginx",
        },
        {
          text: "mac M1安装docker-compose,webssh",
          icon: "write",
          link: "mac M1安装docker-compose,webssh",
        },
        {
          text: "docker 部署ruoyi-blog",
          icon: "write",
          link: "docker 部署ruoyi-blog",
        },
        {
          text: "docker安装memos(便签)",
          icon: "write",
          link: "docker安装memos(便签)",
        },
      ],
    },
    // 面试
    {
      text: "面试",
      icon: "java",
      collapsible: true,
      prefix: "/codenotes/面试/",
      children: [
        {
          text: "mysql索引为什么会失效",
          icon: "write",
          link: "mysql索引为什么会失效",
        },
        {
          text: "redis分布式锁过期了但业务还没有执行完，怎么办",
          icon: "write",
          link: "redis分布式锁过期了但业务还没有执行完，怎么办",
        },
        {
          text: "redis面试题",
          icon: "write",
          link: "redis面试题",
        },
        {
          text: "创建线程的方法",
          icon: "write",
          link: "创建线程的方法",
        },
      ],
    },
    // 软考
    {
      text: "软考",
      icon: "java",
      collapsible: true,
      prefix: "/codenotes/软考/",
      children: [
        {
          text: "1.信息化和信息系统-第一章",
          icon: "write",
          link: "1.信息化和信息系统-第一章",
        },
        {
          text: "2.信息系统项目管理基础-第二章",
          icon: "write",
          link: "2.信息系统项目管理基础-第二章",
        },
        {
          text: "3.项目立项管理-第三章",
          icon: "write",
          link: "3.项目立项管理-第三章",
        },
        {
          text: "4.项目整体管理-第四章",
          icon: "write",
          link: "4.项目整体管理-第四章",
        },
        {
          text: "5.项目范围管理-第五章",
          icon: "write",
          link: "5.项目范围管理-第五章",
        },
        {
          text: "6.项目进度管理-第六章",
          icon: "write",
          link: "6.项目进度管理-第六章",
        },
        {
          text: "7.项目成本管理-第七章",
          icon: "write",
          link: "7.项目成本管理-第七章",
        },
        {
          text: "8.项目质量管理-第八章",
          icon: "write",
          link: "8.项目质量管理-第八章",
        },
        {
          text: "9.项目人力资源管理-第九章",
          icon: "write",
          link: "9.项目人力资源管理-第九章",
        },
      ],
    },
    // NOSQL
    {
      text: "NOSQL",
      icon: "redis",
      collapsible: true,
      prefix: "/codenotes/nosql/",
      children: [{
        text: "常见的非关系型数据库NOSQL分类",
        icon: "write",
        link: "常见的非关系型数据库NOSQL分类",
      },
      {
        text: "MongoDB",
        icon: "write",
        link: "MongoDB",
      },
      {
        text: "MongoDB操作文件",
        icon: "write",
        link: "MongoDB操作文件",
      }, {
        text: "nginx",
        icon: "write",
        link: "nginx",
      }, {
        text: "Redis宝典",
        icon: "write",
        link: "Redis宝典",
      }, {
        text: "Redis队列实现java秒杀系统",
        icon: "write",
        link: "Redis队列实现java秒杀系统",
      }, {
        text: "redis监听时间的key",
        icon: "write",
        link: "redis监听时间的key",
      },

      ],
    },
    // 其他
    {
      text: "其他",
      icon: "other",
      collapsible: true,
      prefix: "/codenotes/其他/",
      children: [{
        text: "IDEA远程debug",
        icon: "write",
        link: "IDEA远程debug",
      },
      {
        text: "git修改提交后的用户名和邮箱",
        icon: "write",
        link: "git修改提交后的用户名和邮箱",
      },
      {
        text: "git提交错误撤回",
        icon: "write",
        link: "git提交错误撤回",
      },

      ],
    },
  ],

  // 若依博客的侧边栏
  "/ruoyi-blog/": [
    {
      text: "ruoyi-blog",
      icon: "java",
      collapsible: true,
      prefix: "/ruoyi-blog/ruoyi配置/",
      children: [
        {
          text: "配置文件说明一",
          icon: "write",
          link: "配置文件说明一",
        },
        {
          text: "配置文件说明二",
          icon: "write",
          link: "配置文件说明二",
        },
      ],
    },

  ],

  // 开源项目的侧边栏
  "/projects/": [
    {
      text: "技术教程",
      icon: "guide",
      collapsible: true,
      link: "/projects/techguide/",
    },
    {
      text: "实战项目",
      icon: "workingDirectory",
      collapsible: true,
      link: "/projects/pracprojects/",
    },
    {
      text: "系统设计",
      icon: "shell",
      collapsible: true,
      link: "/projects/systemdesign/",
    },
    {
      text: "工具类库",
      icon: "module",
      collapsible: true,
      link: "/projects/toollibrary/",
    },
  ],
});
